package com.eas.ereceipt.adapter;

import com.eas.ereceipt.app.ListReceiptFragment;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;

public class ReceiptPagerAdapter extends FragmentStatePagerAdapter {

	public ReceiptPagerAdapter(FragmentManager fm) {
		super(fm);
	}

	@Override
	public Fragment getItem(int pos) {
		return new ListReceiptFragment();
	}

	@Override
	public int getCount() {
		return 7;
	}
	
	@Override
	public CharSequence getPageTitle(int position) {
		return "1/" + (3+position) + "/2014";
	}

}
